(#1)
twisted Offline
 
Posts: 5
Join Date: Nov 2010
[WCDDL] Colored Category Titles Mod - 11-15-2010, 02:11 PM

Add color to your category titles. Tested on v2.1
Change from:
http://lulzimg.com/i5/984a3a34.png

to

http://lulzimg.com/i5/1b4f40e2.png


Open your css file, usually style.css
And add this on a new blank line at the bottom
(The categories must be in lowercase. Change the hex colors to whatever color you want.)


Code:
.app { color: #33FF33; } 
.game { color: #CC3333; } 
.movie { color: #CC99CC; } 
.music { color: #FF9933; } 
.tv { color: #0066CC; } 
.ebook { color: #CC9933; } 
.video { color: #FF6600; } 
.template { color: #0033FF; } 
.other { color: #FF66FF; }

Open index.php, find
Code:
<?=$dl['type']?>

Replace with
Code:
<span class="<?=strtolower($dl['type'])?>"><?=ucfirst($dl['type'])?>



--- --- --- --- ---

Save and upload edited files.

Credits to CyberJ37 and jomasaco for the code.

Bookmarks

Tags
category, colored, mod, titles, wcddl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin


Content Relevant URLs by vBSEO